package WxWs.po;

public class WxwsKh {
	private Integer mid;
	private String birthday;
	private String jifen;
	public Integer getMid() {
		return mid;
	}
	public void setMid(Integer mid) {
		this.mid = mid;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getJifen() {
		return jifen;
	}
	public void setJifen(String jifen) {
		this.jifen = jifen;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((birthday == null) ? 0 : birthday.hashCode());
		result = prime * result + ((jifen == null) ? 0 : jifen.hashCode());
		result = prime * result + ((mid == null) ? 0 : mid.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		WxwsKh other = (WxwsKh) obj;
		if (birthday == null) {
			if (other.birthday != null)
				return false;
		} else if (!birthday.equals(other.birthday))
			return false;
		if (jifen == null) {
			if (other.jifen != null)
				return false;
		} else if (!jifen.equals(other.jifen))
			return false;
		if (mid == null) {
			if (other.mid != null)
				return false;
		} else if (!mid.equals(other.mid))
			return false;
		return true;
	}
	public WxwsKh(Integer mid, String birthday, String jifen) {
		super();
		this.mid = mid;
		this.birthday = birthday;
		this.jifen = jifen;
	}
	@Override
	public String toString() {
		return "WxwsKh [mid=" + mid + ", birthday=" + birthday + ", jifen=" + jifen + "]";
	}
}
